package org.openjsonp.json;

import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.LineNumberReader;
import java.io.Reader;
import java.nio.charset.Charset;

import javax.json.JsonArray;
import javax.json.JsonObject;
import javax.json.JsonReader;
import javax.json.JsonStructure;

/**
 * Implementation of {@link javax.json.JsonReader JsonReader}.
 * 
 */
public class JsonReaderImpl implements JsonReader {

	private LineNumberReader reader;

	public JsonReaderImpl(Reader reader) {
		reader = new LineNumberReader(reader);
	}

	public JsonReaderImpl(InputStream in) {
		reader = new LineNumberReader(new InputStreamReader(in));
	}

	public JsonReaderImpl(InputStream in, Charset charset) {
		reader = new LineNumberReader(new InputStreamReader(in, charset));
	}

	@Override
	public JsonStructure read() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public JsonObject readObject() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public JsonArray readArray() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void close() {
		// TODO Auto-generated method stub
	}

}
